75da42e45c00d3a015484f601655ce28fca32b49,plugins/properties/properties-psi-impl/src/com/intellij/lang/properties/PropertiesReferenceManager.java,PropertiesReferenceManager,processPropertiesFiles,#GlobalSearchScope#PropertiesFileProcessor#BundleNameEvaluator#,141

Before Change


      }, searchScope);
    if (!result) return false;

    return myDumbService.isDumb() || FileBasedIndex.getInstance()
      .processValues(XmlPropertiesIndex.NAME, XmlPropertiesIndex.MARKER_KEY, null, new FileBasedIndex.ValueProcessor<String>() {
        public boolean process(VirtualFile file, String value) {
          return processFile(file, evaluator, processor);

After Change


    for(VirtualFile file:FileBasedIndex.getInstance().getContainingFiles(FileTypeIndex.NAME, PropertiesFileType.INSTANCE, searchScope)) {
      if (!processFile(file, evaluator, processor)) return false;
    }
    if (!myDumbService.isDumb()) {
      for(VirtualFile file:FileBasedIndex.getInstance().getContainingFiles(XmlPropertiesIndex.NAME, XmlPropertiesIndex.MARKER_KEY, searchScope)) {
        if (!processFile(file, evaluator, processor)) return false;
      }
    }